/* © 2020-2025 ALYR.NET */
/* 登录页面样式 */
body {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 400px;
    padding: 30px;
    text-align: center;
}

.company-logo {
    margin-bottom: 20px;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

h1 {
    color: #333;
    font-size: 24px;
}

.login-button {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    margin: 30px 0;
    border: 1px solid #357abd;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #357abd;
}

.login-button:active {
    background-color: #2c5aa0;
}

.powered-by {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.error-message {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 14px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#debug-tools {
    margin-bottom: 10px;
    display: none;
}

#debug-tools button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    margin: 0 3px;
    cursor: pointer;
    color: #333;
}

#debug-tools button:hover {
    background-color: #e0e0e0;
}

/* 响应式设计 - 移动端样式 */
@media screen and (max-width: 600px) {
    body {
        align-items: flex-start;
        padding-top: 10vh;
    }
    
    .login-container {
        width: 90%;
        padding: 20px;
        margin: 0 10px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }
    
    h1 {
        margin-top: 0;
        font-size: 22px;
    }
    
    .login-button {
        width: 90%;
        padding: 14px 20px;
        font-size: 16px;
        margin: 20px 0;
    }
    
    .powered-by {
        margin-top: 15px;
        font-size: 11px;
    }
}